.class public Les/za;
.super Ljava/lang/Object;
.source "MediaStoreHelper.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/za$b;,
        Les/za$a;
    }
.end annotation


# direct methods
.method private static a(Landroidx/fragment/app/FragmentActivity;ILandroid/os/Bundle;Les/za$b;)V
    .locals 4

    .line 1
    invoke-virtual {p0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/String;

    const/4 v2, 0x0

    const-string v3, "android.permission.WRITE_EXTERNAL_STORAGE"

    aput-object v3, v1, v2

    .line 2
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/andpermission/b;->b(Landroid/content/Context;[Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    const/4 p0, 0x0

    .line 3
    invoke-interface {p3, p0}, Les/za$b;->a(Ljava/util/List;)V

    return-void

    .line 4
    :cond_0
    invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->getSupportLoaderManager()Landroidx/loader/app/LoaderManager;

    move-result-object v0

    new-instance v1, Les/za$a;

    invoke-direct {v1, p0, p3}, Les/za$a;-><init>(Landroid/content/Context;Les/za$b;)V

    .line 5
    invoke-virtual {v0, p1, p2, v1}, Landroidx/loader/app/LoaderManager;->initLoader(ILandroid/os/Bundle;Landroidx/loader/app/LoaderManager$LoaderCallbacks;)Landroidx/loader/content/Loader;

    return-void
.end method

.method public static a(Landroidx/fragment/app/FragmentActivity;Les/za$b;)V
    .locals 4

    .line 9
    invoke-virtual {p0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/String;

    const/4 v2, 0x0

    const-string v3, "android.permission.WRITE_EXTERNAL_STORAGE"

    aput-object v3, v1, v2

    .line 10
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/andpermission/b;->b(Landroid/content/Context;[Ljava/lang/String;)Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_0

    .line 11
    invoke-interface {p1, v1}, Les/za$b;->a(Ljava/util/List;)V

    return-void

    .line 12
    :cond_0
    invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->getSupportLoaderManager()Landroidx/loader/app/LoaderManager;

    move-result-object v0

    const/4 v2, 0x4

    new-instance v3, Les/za$a;

    invoke-direct {v3, p0, p1}, Les/za$a;-><init>(Landroid/content/Context;Les/za$b;)V

    .line 13
    invoke-virtual {v0, v2, v1, v3}, Landroidx/loader/app/LoaderManager;->initLoader(ILandroid/os/Bundle;Landroidx/loader/app/LoaderManager$LoaderCallbacks;)Landroidx/loader/content/Loader;

    return-void
.end method

.method public static a(Landroidx/fragment/app/FragmentActivity;ZLes/za$b;)V
    .locals 2

    .line 6
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    const-string v1, "SHOW_GIF"

    .line 7
    invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    const/4 p1, 0x0

    .line 8
    invoke-static {p0, p1, v0, p2}, Les/za;->a(Landroidx/fragment/app/FragmentActivity;ILandroid/os/Bundle;Les/za$b;)V

    return-void
.end method

.method public static b(Landroidx/fragment/app/FragmentActivity;Les/za$b;)V
    .locals 4

    .line 1
    invoke-virtual {p0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/String;

    const/4 v2, 0x0

    const-string v3, "android.permission.WRITE_EXTERNAL_STORAGE"

    aput-object v3, v1, v2

    .line 2
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/andpermission/b;->b(Landroid/content/Context;[Ljava/lang/String;)Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_0

    .line 3
    invoke-interface {p1, v1}, Les/za$b;->a(Ljava/util/List;)V

    return-void

    .line 4
    :cond_0
    invoke-virtual {p0}, Landroidx/fragment/app/FragmentActivity;->getSupportLoaderManager()Landroidx/loader/app/LoaderManager;

    move-result-object v0

    const/4 v2, 0x2

    new-instance v3, Les/za$a;

    invoke-direct {v3, p0, p1}, Les/za$a;-><init>(Landroid/content/Context;Les/za$b;)V

    .line 5
    invoke-virtual {v0, v2, v1, v3}, Landroidx/loader/app/LoaderManager;->initLoader(ILandroid/os/Bundle;Landroidx/loader/app/LoaderManager$LoaderCallbacks;)Landroidx/loader/content/Loader;

    return-void
.end method
